<%--
  Created by IntelliJ IDEA.
  User: admin
  Date: 2021/4/27
  Time: 21:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>宿舍详情</title>
    <link rel="stylesheet" href="/jkd/plugins/layui/css/layui.css">
    <link rel="stylesheet" href="/jkd/plugins/bootstrap/css/bootstrap.min.css">
</head>
<body>
<div class="container-fluid">
    <div class ="row">
        <%@include file="../nav/nav.jsp"%>
    </div>
    <div class ="row" style="height: 300px;background-color: rgba(1,0,0,0.5);background-image: url('/jkd/images/bac.jpg') ">
     <h2 style="color: white;font-family: 'Calibri Light';font-weight: normal;text-align: center;line-height: 300px">
         请善待你的室友，或许再未来你们是相互帮衬的朋友！！
     </h2>

        <div class="row" >
            <div class="col-lg-6 col-md-offset-3" id="tableCon">
                <table class="table table-striped">
                    <div class="modal-body">
                        <thead>
                        <tr>
                            <th>学号</th>
                            <th>姓名</th>
                        </tr>
                        </thead>
                    </div>
                    <tbody>
                    <c:forEach items="${stuList}" var="sl">
                    <tr>
                        <th>${sl.other2}</th>
                        <th>${sl.other1}</th>
                    </tr>
                    </c:forEach>
                    </tbody>
                </table>
            </div>

        </div>

    </div>

</div>
<script src="/jkd/plugins/jquery/jquery.min.js"></script>
<script src="/jkd/plugins/bootstrap/js/bootstrap.min.js"></script>
<script src="/jkd/plugins/layui/layui.js"></script>
<script>
    // $(function () {
    //   $("#tableCon").load("/jkd/service/doc/table")
    // })
</script>
</body>

</html>
